package object;

/**
 * 
 * @author wangweida
 * 2009-12-3
 */

public class History{
	private int HistoryID;
	private int ActionID;
	private String ActionFeild;
	private String OldValue;
	private String NewValue;
	
	private History(){
		
	}
	
	private History(int HistoryID,int ActionID,String ActionFeild,String OldValue,String NewValue){
		this.HistoryID=HistoryID;
		this.ActionID=ActionID;
		this.ActionFeild=ActionFeild;
		this.OldValue=OldValue;
		this.NewValue=NewValue;
	}
	
	public static History getInstance(){
		return new History();
	}
	public static History getInstance(int HistoryID,int ActionID,String ActionFeild,String OldValue,String NewValue){
		return new History(HistoryID,ActionID,ActionFeild,OldValue,NewValue);
	}
	
	public void setHistoryID(int HistoryID){
		this.HistoryID=HistoryID;
	}
	public int getHistoryID(){
		return this.HistoryID;
	}
	
	public void setActionID(int ActionID){
		this.ActionID=ActionID;
	}
	public int getActionID(){
		return this.ActionID;
	}
	
	public void setActionFeild(String ActionFeild){
		this.ActionFeild=ActionFeild;
	}
	public String getActionFeild(){
		return this.ActionFeild;
	}
	
	public void setOldValue(String OldValue){
		this.OldValue=OldValue;
	}
	public String getOldValue(){
		return this.OldValue;
	}
	
	public void setNewValue(String NewValue){
		this.NewValue=NewValue;
	}
	public String getNewValue(){
		return this.NewValue;
	}
}